<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>[Generic Component Framework v3] Setting up GCF 3 on your computer</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<!--link href="tabs.css" rel="stylesheet" type="text/css"-->
</head><body>
 <div id="wrapper">
    <div id="logo_box">
        <a class="img_link" href="https://github.com/pnudupa/gcf" target="_blank" ><img style="float:left;margin-left:10px;margin-top:5px;margin-bottom:5px;"src="header_gcf_logo.jpg" alt="GCF LOGO"/></a>
        <a class="img_link" href="https://www.vcreatelogic.com/" target="_blank" ><img style="float:right;margin-right:10px; margin-top: 30px;" src="header_vcl_logo.jpg" alt="VCL LOGO"/></a>
        <div style="clear:both"></div>
    </div>
    <div class="nav">
        <ul>
            <li class="selectedpage">
                <a class="a-home" href="index.html" >
                    <span>Home</span>
                </a>
            </li>
            <li>
                <a class="a-classes " href="classes.html">
                    <span>All Classes</span>
                </a>
            </li>
            <li>
                <a class="a-home " href="gcf_modules.html">
                    <span>Modules</span>
                </a>
            </li>
            <li>
                <a class="a-home " href="gcf_guides_and_videos.html">
                    <span>Guides & Videos</span>
                </a>
            </li>
            <li>
                <a class="a-home " href="gcf_tools_and_inbuilt_components.html">
                    <span>Tools & Components</span>
                </a>
            </li>
        </ul>
    </div>
    <div id="main-content">
        <div class="inside">
        <div>
<!-- Generated by Doxygen 1.8.16 -->
</div><!-- top -->
<div class="PageDoc"><div class="header">
  <div class="headertitle">
<div class="title">Setting up GCF 3 on your computer </div>  </div>
</div><!--header-->
<div class="contents">
<div class="toc"><h3>Table of Contents</h3>
<ul><li class="level1"><a href="#gcf_installation_0">Software Requirements</a></li>
<li class="level1"><a href="#gcf_installation_1">Compiling GCF 3.0</a></li>
<li class="level1"><a href="#gcf_installation_2">Environment variables</a></li>
<li class="level1"><a href="#gcf_installation_3">Video tutorials</a></li>
</ul>
</div>
<div class="textblock"><h1><a class="anchor" id="gcf_installation_0"></a>
Software Requirements</h1>
<p>GCF is built using Qt/C++. It has the following minimum software requirements</p>
<ul>
<li>Operating Systems<ul>
<li>Windows XP, Windows Vista, Windows 7, Windows 8</li>
<li>Ubuntu Linux 12.04 and later</li>
<li>Apple Mac OS 10.8+</li>
</ul>
</li>
<li>Qt<ul>
<li>Version 4.8.x (Tested against 4.8.4)</li>
<li>Version 5.x (Tested against 5.0.1 and 5.1.0)</li>
</ul>
</li>
<li>Compilers<ul>
<li>On Windows: MinGW and Visual Studio 2010 (not tested on Visual Studio 2012)</li>
<li>On Mac and Linux: GCC 4.2+</li>
</ul>
</li>
</ul>
<h1><a class="anchor" id="gcf_installation_1"></a>
Compiling GCF 3.0</h1>
<p>To compile GCF 3.0.0, download the source code ZIP file and uncompress it in your home directory. Follow the instructions below</p>
<pre class="fragment">$ qmake -recursive
$ make
</pre><p>After the compilation process is done, all binaries can be found in the Binary folder.</p>
<h1><a class="anchor" id="gcf_installation_2"></a>
Environment variables</h1>
<p>The following environment variables must be setup to use GCF 3 in your applications</p>
<ul>
<li>Setup the <code>GCFDIR</code> environment variable to point to the source directory of GCF 3. After setting up this environment variable, you must be able to find </li>
<li>Setup the <code>QMAKEFEATURES</code> environment variable to point to $GCFDIR/QMakePRF folder. <code>$GCFDIR/QMakePRF/GCF3</code>.prf </li>
<li>On Windows, set <code>PATH</code> environment variable to include <code>GCFDIR%/Binary</code> </li>
<li>On Linux, set <code>LD_LIBRARY_PATH</code> environment variable to include <code>GCFDIR%/Binary</code> </li>
<li>On Mac, set <code>DYLD_LIBRARY_PATH</code> environment variable to include <code>GCFDIR%/Binary</code> </li>
<li>Restart your computer (or atleast Qt Creator)</li>
</ul>
<dl class="section note"><dt>Note</dt><dd>Environment variables are best set in .bashrc on Linux and Mac, so that they apply across login sessions.</dd></dl>
<h1><a class="anchor" id="gcf_installation_3"></a>
Video tutorials</h1>
<p> 
<p>&nbsp;</p>
<table cellpadding="10" cellspacing="0" border="1">

<tr>
<td colspan="2" align="center">
<video width="500" controls>
    <source src="../../../Videos/Compilation/MacOS.mp4" type="video/mp4">
</video>
<p>If you are unable to view the embedded video above, please click <a href="http://player.vimeo.com/video/77392071" target="_blank">here</a> to view it on the web.</p>
</td>
</tr>
<tr>
<td align="center">
<video width="500" controls>
    <source src="../../../Videos/Compilation/Linux.mp4" type="video/mp4">
</video>
<p>If you are unable to view the embedded video above, please click <a href="http://player.vimeo.com/video/77394067" target="_blank">here</a> to view it on the web.</p>
</td>
<td align="center">
<video width="500" controls>
    <source src="../../../Videos/Compilation/Windows.mp4" type="video/mp4">
</video>
<p>If you are unable to view the embedded video above, please click <a href="http://player.vimeo.com/video/77400173" target="_blank">here</a> to view it on the web.</p>
</td>
</td>

</table>

 </p>
</div></div><!-- contents -->
</div><!-- PageDoc -->
</div>
</div>
</div>
<div class="footer_content">
<table width="100%" class="footer">
<tr>
<td align="left" width="50%">Copyright &copy; 2013-2019,
 <a class="el" href="http://www.vcreatelogic.com" target="_black">VCreate Logic Private Limited</a></td>
<td align="right" width="50%"><a class="el" href="http://www.vcreatelogic.com/products/gcf" target="_black">GCF - Generic Component Framework</a></td>
</tr>
</table>
</div>
</div>
</body>
</html>
